package com.lixia.lxframework.rbac.domain;

import java.util.ArrayList;
import java.util.List;

public class SysConfigOptionExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SysConfigOptionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andConfigKeyIsNull() {
            addCriterion("CONFIG_KEY is null");
            return (Criteria) this;
        }

        public Criteria andConfigKeyIsNotNull() {
            addCriterion("CONFIG_KEY is not null");
            return (Criteria) this;
        }

        public Criteria andConfigKeyEqualTo(String value) {
            addCriterion("CONFIG_KEY =", value, "configKey");
            return (Criteria) this;
        }

        public Criteria andConfigKeyNotEqualTo(String value) {
            addCriterion("CONFIG_KEY <>", value, "configKey");
            return (Criteria) this;
        }

        public Criteria andConfigKeyGreaterThan(String value) {
            addCriterion("CONFIG_KEY >", value, "configKey");
            return (Criteria) this;
        }

        public Criteria andConfigKeyGreaterThanOrEqualTo(String value) {
            addCriterion("CONFIG_KEY >=", value, "configKey");
            return (Criteria) this;
        }

        public Criteria andConfigKeyLessThan(String value) {
            addCriterion("CONFIG_KEY <", value, "configKey");
            return (Criteria) this;
        }

        public Criteria andConfigKeyLessThanOrEqualTo(String value) {
            addCriterion("CONFIG_KEY <=", value, "configKey");
            return (Criteria) this;
        }

        public Criteria andConfigKeyLike(String value) {
            addCriterion("CONFIG_KEY like", value, "configKey");
            return (Criteria) this;
        }

        public Criteria andConfigKeyNotLike(String value) {
            addCriterion("CONFIG_KEY not like", value, "configKey");
            return (Criteria) this;
        }

        public Criteria andConfigKeyIn(List<String> values) {
            addCriterion("CONFIG_KEY in", values, "configKey");
            return (Criteria) this;
        }

        public Criteria andConfigKeyNotIn(List<String> values) {
            addCriterion("CONFIG_KEY not in", values, "configKey");
            return (Criteria) this;
        }

        public Criteria andConfigKeyBetween(String value1, String value2) {
            addCriterion("CONFIG_KEY between", value1, value2, "configKey");
            return (Criteria) this;
        }

        public Criteria andConfigKeyNotBetween(String value1, String value2) {
            addCriterion("CONFIG_KEY not between", value1, value2, "configKey");
            return (Criteria) this;
        }

        public Criteria andConfigValueIsNull() {
            addCriterion("CONFIG_VALUE is null");
            return (Criteria) this;
        }

        public Criteria andConfigValueIsNotNull() {
            addCriterion("CONFIG_VALUE is not null");
            return (Criteria) this;
        }

        public Criteria andConfigValueEqualTo(String value) {
            addCriterion("CONFIG_VALUE =", value, "configValue");
            return (Criteria) this;
        }

        public Criteria andConfigValueNotEqualTo(String value) {
            addCriterion("CONFIG_VALUE <>", value, "configValue");
            return (Criteria) this;
        }

        public Criteria andConfigValueGreaterThan(String value) {
            addCriterion("CONFIG_VALUE >", value, "configValue");
            return (Criteria) this;
        }

        public Criteria andConfigValueGreaterThanOrEqualTo(String value) {
            addCriterion("CONFIG_VALUE >=", value, "configValue");
            return (Criteria) this;
        }

        public Criteria andConfigValueLessThan(String value) {
            addCriterion("CONFIG_VALUE <", value, "configValue");
            return (Criteria) this;
        }

        public Criteria andConfigValueLessThanOrEqualTo(String value) {
            addCriterion("CONFIG_VALUE <=", value, "configValue");
            return (Criteria) this;
        }

        public Criteria andConfigValueLike(String value) {
            addCriterion("CONFIG_VALUE like", value, "configValue");
            return (Criteria) this;
        }

        public Criteria andConfigValueNotLike(String value) {
            addCriterion("CONFIG_VALUE not like", value, "configValue");
            return (Criteria) this;
        }

        public Criteria andConfigValueIn(List<String> values) {
            addCriterion("CONFIG_VALUE in", values, "configValue");
            return (Criteria) this;
        }

        public Criteria andConfigValueNotIn(List<String> values) {
            addCriterion("CONFIG_VALUE not in", values, "configValue");
            return (Criteria) this;
        }

        public Criteria andConfigValueBetween(String value1, String value2) {
            addCriterion("CONFIG_VALUE between", value1, value2, "configValue");
            return (Criteria) this;
        }

        public Criteria andConfigValueNotBetween(String value1, String value2) {
            addCriterion("CONFIG_VALUE not between", value1, value2, "configValue");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultIsNull() {
            addCriterion("CONFIG_DEFAULT is null");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultIsNotNull() {
            addCriterion("CONFIG_DEFAULT is not null");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultEqualTo(String value) {
            addCriterion("CONFIG_DEFAULT =", value, "configDefault");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultNotEqualTo(String value) {
            addCriterion("CONFIG_DEFAULT <>", value, "configDefault");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultGreaterThan(String value) {
            addCriterion("CONFIG_DEFAULT >", value, "configDefault");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultGreaterThanOrEqualTo(String value) {
            addCriterion("CONFIG_DEFAULT >=", value, "configDefault");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultLessThan(String value) {
            addCriterion("CONFIG_DEFAULT <", value, "configDefault");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultLessThanOrEqualTo(String value) {
            addCriterion("CONFIG_DEFAULT <=", value, "configDefault");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultLike(String value) {
            addCriterion("CONFIG_DEFAULT like", value, "configDefault");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultNotLike(String value) {
            addCriterion("CONFIG_DEFAULT not like", value, "configDefault");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultIn(List<String> values) {
            addCriterion("CONFIG_DEFAULT in", values, "configDefault");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultNotIn(List<String> values) {
            addCriterion("CONFIG_DEFAULT not in", values, "configDefault");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultBetween(String value1, String value2) {
            addCriterion("CONFIG_DEFAULT between", value1, value2, "configDefault");
            return (Criteria) this;
        }

        public Criteria andConfigDefaultNotBetween(String value1, String value2) {
            addCriterion("CONFIG_DEFAULT not between", value1, value2, "configDefault");
            return (Criteria) this;
        }

        public Criteria andConfigTypeIsNull() {
            addCriterion("CONFIG_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andConfigTypeIsNotNull() {
            addCriterion("CONFIG_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andConfigTypeEqualTo(String value) {
            addCriterion("CONFIG_TYPE =", value, "configType");
            return (Criteria) this;
        }

        public Criteria andConfigTypeNotEqualTo(String value) {
            addCriterion("CONFIG_TYPE <>", value, "configType");
            return (Criteria) this;
        }

        public Criteria andConfigTypeGreaterThan(String value) {
            addCriterion("CONFIG_TYPE >", value, "configType");
            return (Criteria) this;
        }

        public Criteria andConfigTypeGreaterThanOrEqualTo(String value) {
            addCriterion("CONFIG_TYPE >=", value, "configType");
            return (Criteria) this;
        }

        public Criteria andConfigTypeLessThan(String value) {
            addCriterion("CONFIG_TYPE <", value, "configType");
            return (Criteria) this;
        }

        public Criteria andConfigTypeLessThanOrEqualTo(String value) {
            addCriterion("CONFIG_TYPE <=", value, "configType");
            return (Criteria) this;
        }

        public Criteria andConfigTypeLike(String value) {
            addCriterion("CONFIG_TYPE like", value, "configType");
            return (Criteria) this;
        }

        public Criteria andConfigTypeNotLike(String value) {
            addCriterion("CONFIG_TYPE not like", value, "configType");
            return (Criteria) this;
        }

        public Criteria andConfigTypeIn(List<String> values) {
            addCriterion("CONFIG_TYPE in", values, "configType");
            return (Criteria) this;
        }

        public Criteria andConfigTypeNotIn(List<String> values) {
            addCriterion("CONFIG_TYPE not in", values, "configType");
            return (Criteria) this;
        }

        public Criteria andConfigTypeBetween(String value1, String value2) {
            addCriterion("CONFIG_TYPE between", value1, value2, "configType");
            return (Criteria) this;
        }

        public Criteria andConfigTypeNotBetween(String value1, String value2) {
            addCriterion("CONFIG_TYPE not between", value1, value2, "configType");
            return (Criteria) this;
        }

        public Criteria andConfigDomainIsNull() {
            addCriterion("CONFIG_DOMAIN is null");
            return (Criteria) this;
        }

        public Criteria andConfigDomainIsNotNull() {
            addCriterion("CONFIG_DOMAIN is not null");
            return (Criteria) this;
        }

        public Criteria andConfigDomainEqualTo(String value) {
            addCriterion("CONFIG_DOMAIN =", value, "configDomain");
            return (Criteria) this;
        }

        public Criteria andConfigDomainNotEqualTo(String value) {
            addCriterion("CONFIG_DOMAIN <>", value, "configDomain");
            return (Criteria) this;
        }

        public Criteria andConfigDomainGreaterThan(String value) {
            addCriterion("CONFIG_DOMAIN >", value, "configDomain");
            return (Criteria) this;
        }

        public Criteria andConfigDomainGreaterThanOrEqualTo(String value) {
            addCriterion("CONFIG_DOMAIN >=", value, "configDomain");
            return (Criteria) this;
        }

        public Criteria andConfigDomainLessThan(String value) {
            addCriterion("CONFIG_DOMAIN <", value, "configDomain");
            return (Criteria) this;
        }

        public Criteria andConfigDomainLessThanOrEqualTo(String value) {
            addCriterion("CONFIG_DOMAIN <=", value, "configDomain");
            return (Criteria) this;
        }

        public Criteria andConfigDomainLike(String value) {
            addCriterion("CONFIG_DOMAIN like", value, "configDomain");
            return (Criteria) this;
        }

        public Criteria andConfigDomainNotLike(String value) {
            addCriterion("CONFIG_DOMAIN not like", value, "configDomain");
            return (Criteria) this;
        }

        public Criteria andConfigDomainIn(List<String> values) {
            addCriterion("CONFIG_DOMAIN in", values, "configDomain");
            return (Criteria) this;
        }

        public Criteria andConfigDomainNotIn(List<String> values) {
            addCriterion("CONFIG_DOMAIN not in", values, "configDomain");
            return (Criteria) this;
        }

        public Criteria andConfigDomainBetween(String value1, String value2) {
            addCriterion("CONFIG_DOMAIN between", value1, value2, "configDomain");
            return (Criteria) this;
        }

        public Criteria andConfigDomainNotBetween(String value1, String value2) {
            addCriterion("CONFIG_DOMAIN not between", value1, value2, "configDomain");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsIsNull() {
            addCriterion("CONFIG_OPTIONS is null");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsIsNotNull() {
            addCriterion("CONFIG_OPTIONS is not null");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsEqualTo(String value) {
            addCriterion("CONFIG_OPTIONS =", value, "configOptions");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsNotEqualTo(String value) {
            addCriterion("CONFIG_OPTIONS <>", value, "configOptions");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsGreaterThan(String value) {
            addCriterion("CONFIG_OPTIONS >", value, "configOptions");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsGreaterThanOrEqualTo(String value) {
            addCriterion("CONFIG_OPTIONS >=", value, "configOptions");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsLessThan(String value) {
            addCriterion("CONFIG_OPTIONS <", value, "configOptions");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsLessThanOrEqualTo(String value) {
            addCriterion("CONFIG_OPTIONS <=", value, "configOptions");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsLike(String value) {
            addCriterion("CONFIG_OPTIONS like", value, "configOptions");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsNotLike(String value) {
            addCriterion("CONFIG_OPTIONS not like", value, "configOptions");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsIn(List<String> values) {
            addCriterion("CONFIG_OPTIONS in", values, "configOptions");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsNotIn(List<String> values) {
            addCriterion("CONFIG_OPTIONS not in", values, "configOptions");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsBetween(String value1, String value2) {
            addCriterion("CONFIG_OPTIONS between", value1, value2, "configOptions");
            return (Criteria) this;
        }

        public Criteria andConfigOptionsNotBetween(String value1, String value2) {
            addCriterion("CONFIG_OPTIONS not between", value1, value2, "configOptions");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("REMARK is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("REMARK =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("REMARK <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("REMARK >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("REMARK >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("REMARK <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("REMARK <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("REMARK like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("REMARK not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("REMARK in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("REMARK not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("REMARK between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("REMARK not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNull() {
            addCriterion("ORDER_NUM is null");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNotNull() {
            addCriterion("ORDER_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNumEqualTo(Integer value) {
            addCriterion("ORDER_NUM =", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotEqualTo(Integer value) {
            addCriterion("ORDER_NUM <>", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThan(Integer value) {
            addCriterion("ORDER_NUM >", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("ORDER_NUM >=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThan(Integer value) {
            addCriterion("ORDER_NUM <", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThanOrEqualTo(Integer value) {
            addCriterion("ORDER_NUM <=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumIn(List<Integer> values) {
            addCriterion("ORDER_NUM in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotIn(List<Integer> values) {
            addCriterion("ORDER_NUM not in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumBetween(Integer value1, Integer value2) {
            addCriterion("ORDER_NUM between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotBetween(Integer value1, Integer value2) {
            addCriterion("ORDER_NUM not between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("STATUS is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Boolean value) {
            addCriterion("STATUS =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Boolean value) {
            addCriterion("STATUS <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Boolean value) {
            addCriterion("STATUS >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Boolean value) {
            addCriterion("STATUS >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Boolean value) {
            addCriterion("STATUS <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Boolean value) {
            addCriterion("STATUS <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Boolean> values) {
            addCriterion("STATUS in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Boolean> values) {
            addCriterion("STATUS not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Boolean value1, Boolean value2) {
            addCriterion("STATUS between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Boolean value1, Boolean value2) {
            addCriterion("STATUS not between", value1, value2, "status");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}